diff options
Diffstat (limited to 'spec/integration/knife/chef_fs_data_store_spec.rb')
-rw-r--r-- | spec/integration/knife/chef_fs_data_store_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/integration/knife/chef_fs_data_store_spec.rb b/spec/integration/knife/chef_fs_data_store_spec.rb index a4d62673de..d6300581f6 100644 --- a/spec/integration/knife/chef_fs_data_store_spec.rb +++ b/spec/integration/knife/chef_fs_data_store_spec.rb @@ -182,7 +182,7 @@ EOM it 'After knife raw -z -i rolestuff.json -m PUT /roles/x, the output is pretty', :pending => (RUBY_VERSION < "1.9") do knife("raw -z -i #{path_to('rolestuff.json')} -m PUT /roles/x").should_succeed( /"x"/ ) - IO.read(path_to('roles/x.json')).should == <<EOM.strip + expect(IO.read(path_to('roles/x.json'))).to eq <<EOM.strip { "name": "x", "description": "hi there" @@ -248,7 +248,7 @@ EOM it 'After knife raw -z -i rolestuff.json -m POST /roles, the output is pretty', :pending => (RUBY_VERSION < "1.9") do knife("raw -z -i #{path_to('rolestuff.json')} -m POST /roles").should_succeed( /uri/ ) - IO.read(path_to('roles/x.json')).should == <<EOM.strip + expect(IO.read(path_to('roles/x.json'))).to eq <<EOM.strip { "name": "x", "description": "hi there" |