Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Clarify spec names

  • Loading branch information...
commit 93cd34e113d329134380737c117ffad8f6cba70b 1 parent 56de191
Matthew Daubert MDaubs authored gabebw committed
Showing with 3 additions and 3 deletions.
  1. +3 −3 spec/shoulda/active_record/query_the_database_matcher_spec.rb
6 spec/shoulda/active_record/query_the_database_matcher_spec.rb
View
@@ -17,11 +17,11 @@
@parent.should query_the_database(1.times).when_calling(:count)
end
- it "should accept any number of queries when none specified" do
+ it "should accept any number of queries when no number is specified" do
@parent.should query_the_database.when_calling(:count)
end
- it "should reject any number of queries when non specified" do
+ it "should reject any number of queries when no number is specified" do
@parent.should_not query_the_database.when_calling(:to_s)
end
@@ -36,7 +36,7 @@
@parent.should_not query_the_database(10.times).when_calling(:count)
end
- it "should accept fewer than the required count" do
+ it "should accept fewer than the specified maximum" do
@parent.should query_the_database(5.times).or_less.when_calling(:count)
end
Please sign in to comment.
Something went wrong with that request. Please try again.