Skip to content

Commit

Permalink
fixup! Adjust docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
pirj committed Nov 14, 2019
1 parent 851d77a commit 270afcc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions spec/rspec/rails/matchers/active_job_spec.rb
Expand Up @@ -211,7 +211,7 @@ def self.name; "LoggingJob"; end
}.to have_enqueued_job.at(date)
end

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

it "accepts composable matchers in `at`" do
it "accepts composable matchers as an at date" do
future = 1.minute.from_now
slightly_earlier = 58.seconds.from_now
heavy_lifting_job.set(:wait_until => slightly_earlier).perform_later
Expand Down
2 changes: 1 addition & 1 deletion spec/rspec/rails/matchers/have_enqueued_mail_spec.rb
Expand Up @@ -254,7 +254,7 @@ def email_with_args(arg1, arg2); end
}.to raise_error(/expected to enqueue TestMailer.test_email exactly 1 time at #{send_time.strftime('%F %T')}/)
end

it "accepts composable matchers in `at`" do
it "accepts composable matchers as an at date" do
future = 1.minute.from_now
slightly_earlier = 58.seconds.from_now

Expand Down

0 comments on commit 270afcc

Please sign in to comment.