spec/cli/app_spec.rb in candy_check-0.4.0 vs spec/cli/app_spec.rb in candy_check-0.5.0
- old
+ new
@@ -11,17 +11,17 @@
end
it 'supports the app_store command' do
stub_command(CandyCheck::CLI::Commands::AppStore) do
_(subject.app_store('receipt')).must_equal :stubbed
- _(@arguments).must_equal ['receipt', {}]
+ _(@arguments).must_equal ['receipt']
end
end
it 'supports the play_store command' do
stub_command(CandyCheck::CLI::Commands::PlayStore) do
_(subject.play_store('package', 'id', 'token')).must_equal :stubbed
- _(@arguments).must_equal ['package', 'id', 'token', {}]
+ _(@arguments).must_equal ['package', 'id', 'token']
end
end
it 'returns true when call .exit_on_failure?' do
_(CandyCheck::CLI::App.exit_on_failure?).must_equal true