We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0b6c68b commit 6ee7d67Copy full SHA for 6ee7d67
1 file changed
chef/spec/unit/provider/package_spec.rb
@@ -98,7 +98,7 @@
98
end
99
100
it "should set the resource to updated if it installs the package" do
101
- @new_resource.should_recieve(:updated).with(true)
+ @new_resource.should_recieve(:updated=).with(true)
102
@provider.action_install
103
104
@@ -134,7 +134,7 @@
134
135
136
137
138
@provider.action_upgrade
139
140
@@ -205,7 +205,7 @@
205
206
207
it "should set the resource to updated if it #{act}s the package" do
208
209
@provider.send(act_symbol)
210
211
0 commit comments