Skip to content
Browse files

remove properly failing spec

  • Loading branch information...
1 parent 2c395f9 commit bb87149504c06f4aab8e1004b411ea0123b9c2c7 @dchelimsky committed Oct 12, 2009
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>})

0 comments on commit bb87149

Please sign in to comment.
Something went wrong with that request. Please try again.