Skip to content

Commit 6ee7d67

Browse files
committed
Wow, should be_required? Wtf was I thinking?
1 parent 0b6c68b commit 6ee7d67

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

chef/spec/unit/provider/package_spec.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@
9898
end
9999

100100
it "should set the resource to updated if it installs the package" do
101-
@new_resource.should_recieve(:updated).with(true)
101+
@new_resource.should_recieve(:updated=).with(true)
102102
@provider.action_install
103103
end
104104

@@ -134,7 +134,7 @@
134134
end
135135

136136
it "should set the resource to updated if it installs the package" do
137-
@new_resource.should_recieve(:updated).with(true)
137+
@new_resource.should_recieve(:updated=).with(true)
138138
@provider.action_upgrade
139139
end
140140

@@ -205,7 +205,7 @@
205205
end
206206

207207
it "should set the resource to updated if it #{act}s the package" do
208-
@new_resource.should_recieve(:updated).with(true)
208+
@new_resource.should_recieve(:updated=).with(true)
209209
@provider.send(act_symbol)
210210
end
211211

0 commit comments

Comments
 (0)