spec/lib/resources_extractor_spec.rb in rapidoc-0.0.5 vs spec/lib/resources_extractor_spec.rb in rapidoc-0.0.6
- old
+ new
@@ -67,10 +67,10 @@
actions.should be_include( 'create' )
end
it "return correct order" do
names = @resources.map(&:name)
- names.should == [ "albums", "images", "users" ]
+ names.should == [ "albums", "images", "testing", "users" ]
end
context "when check resource with controller" do
before do
@user_resource = @resources.select{ |r| r.name == "users" }.first