Commits

Alexey Demidov committed 0b18693

add spec for Attribute::search

  • Participants
  • Parent commits 3e1e1c7

Comments (0)

Files changed (1)

File spec/big_door/attribute_spec.rb

             it "Should respond to :all" do 
                 BigDoor::Attribute.should respond_to(:all).with(1).arguments
             end
+            it "Should respond to :search" do 
+                BigDoor::Attribute.should respond_to(:search).with(2).arguments
+            end
             it "Should load Array of Attributes at the beginning" do
                 currency_types = BigDoor::Attribute.all( @client )
                 currency_types.should be_a_instance_of( Array )