File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 9494end
9595
9696describe Chef ::Provider ::Service , "action_start" do
97- before ( :each ) do
97+ before ( :each ) do
9898 @node = mock ( "Chef::Node" , :null_object => true )
9999 @new_resource = mock ( "Chef::Resource::Service" ,
100100 :null_object => true ,
125125end
126126
127127describe Chef ::Provider ::Service , "action_stop" do
128- before ( :each ) do
128+ before ( :each ) do
129129 @node = mock ( "Chef::Node" , :null_object => true )
130130 @new_resource = mock ( "Chef::Resource::Service" ,
131131 :null_object => true ,
Original file line number Diff line number Diff line change 125125
126126 it "should default all the feature support to false" do
127127 support_hash = { :status => false , :restart => false , :reload => false }
128- @resource . supports . should eql ( support_hash )
128+ @resource . supports . should == support_hash
129129 end
130130
131131 it "should allow you to set what features this resource supports as a array" do
132132 support_array = [ :status , :restart ]
133133 support_hash = { :status => true , :restart => true , :reload => false }
134134 @resource . supports ( support_array )
135- @resource . supports . should eql ( support_hash )
135+ @resource . supports . should == support_hash
136136 end
137137
138138 it "should allow you to set what features this resource supports as a hash" do
139139 support_hash = { :status => true , :restart => true , :reload => false }
140140 @resource . supports ( support_hash )
141- @resource . supports . should eql ( support_hash )
141+ @resource . supports . should == support_hash
142142 end
143143 end
144144end
You can’t perform that action at this time.
0 commit comments