lib/generators/controller/templates/controller_action_spec.erb in hexx-0.1.0 vs lib/generators/controller/templates/controller_action_spec.erb in hexx-0.1.1
- old
+ new
@@ -5,17 +5,18 @@
# let!(:params) { { "something" => "something", "wrong" => "wrong" } }
# before { allow(<%= use_case %>).to receive(:new).and_return(use_case) }
# after { <%= action_type %> :<%= action_name %>, params }
- # it "provides a use case with proper parameters" do
- # expect(<%= use_case %>).to receive(:new).with(params.slice("something"))
+ # it "sets use case with proper parameters" do
+ # expect(<%= use_case %>).to receive(:new)
+ # .with params.slice("something")
# end
- # it "listens to use case" do
+ # it "listens to the case" do
# expect(controller).to listen_to use_case
# end
- # it "runs the case after subscribtion" do
- # expect(use_case).to run_after_subscription
+ # it "runs the case after subscribtions" do
+ # expect(use_case).to run_after_subscriptions
# end
# end
\ No newline at end of file