Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

remove properly failing spec

  • Loading branch information...
commit bb87149504c06f4aab8e1004b411ea0123b9c2c7 1 parent 2c395f9
@dchelimsky authored
Showing with 0 additions and 5 deletions.
  1. +0 −5 code/railsapp/spec/helpers/accounts_helper_spec.rb
View
5 code/railsapp/spec/helpers/accounts_helper_spec.rb
@@ -16,11 +16,6 @@
assert_dom_equal %Q{<a href="/accounts/37">David's account</a>}, helper.link_to_account(account)
end
- it "renders a link to the account" do
- account = mock_model(Account, :id => "38", :name => "David")
- helper.link_to_account(account).should match_dom(%Q{<a href="/accounts/37">David's account</a>})
- end
-
it "does not render a link to another account" do
account = mock_model(Account, :id => "37", :name => "David")
helper.link_to_account(account).should_not match_dom(%Q{<a href="/accounts/38">David's account</a>})
Please sign in to comment.
Something went wrong with that request. Please try again.