Permalink
Browse files

Make QueryPresenter assertion explicit

  • Loading branch information...
1 parent 276113c commit f932a680376519fab0d9b967a30b73ae5d04545c @paulrosania committed Jun 23, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 spec/query_presenter_spec.rb
@@ -55,11 +55,11 @@
it "reports that the query has been named" do
query.name = "Select all the things"
- presenter.should be_named
+ presenter.named?.should be true
end
it "reports that the query has not been named" do
query.name = nil
- presenter.should_not be_named
+ presenter.named?.should be false
end
end

0 comments on commit f932a68

Please sign in to comment.