spec/simctl/executor_spec.rb in simctl-1.6.2 vs spec/simctl/executor_spec.rb in simctl-1.6.3
- old
+ new
@@ -8,10 +8,10 @@
it 'returns json' do
json = SimCtl::Executor.execute(["echo '{\"foo\":\"bar\"}'"]) do |result|
result
end
- expect(json).to eql({'foo' => 'bar'})
+ expect(json).to eql('foo' => 'bar')
end
it 'returns a string' do
string = SimCtl::Executor.execute(["echo 'hello world'"]) do |result|
result