Skip to content

Commit

Permalink
Rubocop fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
djberg96 committed Mar 27, 2019
1 parent 8894db9 commit e7482f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/models/conversion_host_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@

it "works as expected if the connection is successful and the JSON is valid" do
allow(conversion_host).to receive(:connect_ssh).and_return({:alpha => {:beta => 'hello'}}.to_json)
expect(conversion_host.get_conversion_state(path)).to eql({'alpha' => {'beta' => 'hello'}})
expect(conversion_host.get_conversion_state(path)).to eql('alpha' => {'beta' => 'hello'})
end

it "works as expected if the connection is successful but the JSON is invalid" do
Expand Down

0 comments on commit e7482f1

Please sign in to comment.