Skip to content

Commit 6301d79

Browse files
committed
Describe setters just expecting how assignement to properties should happen
1 parent 54395e3 commit 6301d79

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

spec/lib/rex/mime/message_spec.rb

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -166,10 +166,6 @@
166166
subject.to = 'msfdev'
167167
expect(subject.to).to eq('msfdev')
168168
end
169-
170-
it "returns the new To: header value" do
171-
expect(subject.to = 'msfdev').to eq('msfdev')
172-
end
173169
end
174170

175171

@@ -189,10 +185,6 @@
189185
subject.from = 'msfdev'
190186
expect(subject.from).to eq('msfdev')
191187
end
192-
193-
it "returns the new From: header value" do
194-
expect(subject.from = 'msfdev').to eq('msfdev')
195-
end
196188
end
197189

198190
describe "#subject" do
@@ -211,10 +203,6 @@
211203
subject.subject = 'msfdev'
212204
expect(subject.subject).to eq('msfdev')
213205
end
214-
215-
it "returns the new Subject: header value" do
216-
expect(subject.subject = 'msfdev').to eq('msfdev')
217-
end
218206
end
219207

220208
describe "#mime_defaults" do

0 commit comments

Comments
 (0)