spec/rapidash/resourceable_spec.rb in rapidash-0.3.0.beta vs spec/rapidash/resourceable_spec.rb in rapidash-0.3.0.beta2

- old
+ new

@@ -53,19 +53,15 @@ describe "#included" do it "should include the resource method" do Rapidash::ClientTester.methods.map { |m| m.to_sym }.should include(:resource) end - end - describe "instance methods" do let(:client) { ClientTester.new } describe ".resource" do - - it "should create a Rapidash::Base" do client.resource(:users, 1).class.should eql(Rapidash::Base) end it "should set the url to the resource name" do