Skip to content
This repository
Browse code

Clarify spec names

  • Loading branch information...
commit 93cd34e113d329134380737c117ffad8f6cba70b 1 parent 56de191
Matthew Daubert authored March 20, 2012 gabebw committed March 23, 2012
6  spec/shoulda/active_record/query_the_database_matcher_spec.rb
@@ -17,11 +17,11 @@
17 17
       @parent.should query_the_database(1.times).when_calling(:count)
18 18
     end
19 19
 
20  
-    it "should accept any number of queries when none specified" do
  20
+    it "should accept any number of queries when no number is specified" do
21 21
       @parent.should query_the_database.when_calling(:count)
22 22
     end
23 23
 
24  
-    it "should reject any number of queries when non specified" do
  24
+    it "should reject any number of queries when no number is specified" do
25 25
       @parent.should_not query_the_database.when_calling(:to_s)
26 26
     end
27 27
 
@@ -36,7 +36,7 @@
36 36
       @parent.should_not query_the_database(10.times).when_calling(:count)
37 37
     end
38 38
 
39  
-    it "should accept fewer than the required count" do
  39
+    it "should accept fewer than the specified maximum" do
40 40
       @parent.should query_the_database(5.times).or_less.when_calling(:count)
41 41
     end
42 42
 

0 notes on commit 93cd34e

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