spec/lib/shamu/services/request_support_spec.rb in shamu-0.0.11 vs spec/lib/shamu/services/request_support_spec.rb in shamu-0.0.13
- old
+ new
@@ -79,10 +79,10 @@
Class.new( Shamu::Services::Service ) do
include Shamu::Services::RequestSupport
end.request_class( :change )
end.to raise_error Shamu::Services::IncompleteSetupError, /Request/
end
-
+
it "singularizes service namespace" do
service = scorpion.new RequestSupportSpec::UsersService
expect( service.request_class( :change ) ).to be RequestSupportSpec::UserRequest::Change
end