Skip to content

Commit 270afcc

Browse files
committed
fixup! Adjust docstring
1 parent 851d77a commit 270afcc

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

spec/rspec/rails/matchers/active_job_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ def self.name; "LoggingJob"; end
211211
}.to have_enqueued_job.at(date)
212212
end
213213

214-
it "accepts composable matchers in `at`" do
214+
it "accepts composable matchers as an at date" do
215215
future = 1.minute.from_now
216216
slightly_earlier = 58.seconds.from_now
217217
expect {
@@ -388,7 +388,7 @@ def self.name; "LoggingJob"; end
388388
}.to raise_error(/expected not to enqueue at least 1 jobs, but enqueued 2/)
389389
end
390390

391-
it "accepts composable matchers in `at`" do
391+
it "accepts composable matchers as an at date" do
392392
future = 1.minute.from_now
393393
slightly_earlier = 58.seconds.from_now
394394
heavy_lifting_job.set(:wait_until => slightly_earlier).perform_later

spec/rspec/rails/matchers/have_enqueued_mail_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ def email_with_args(arg1, arg2); end
254254
}.to raise_error(/expected to enqueue TestMailer.test_email exactly 1 time at #{send_time.strftime('%F %T')}/)
255255
end
256256

257-
it "accepts composable matchers in `at`" do
257+
it "accepts composable matchers as an at date" do
258258
future = 1.minute.from_now
259259
slightly_earlier = 58.seconds.from_now
260260

0 commit comments

Comments
 (0)