Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #91 from sunloverz/minitest_compatibility

Fix tests, make tests compatible with minitest
  • Loading branch information...
commit 5b4acd98a7cb5340cf51b4e624c16574437ec3d4 2 parents 847fa97 + 820e33e
@rkononov rkononov authored
Showing with 8 additions and 1 deletion.
  1. +1 −1  README.md
  2. +7 −0 test/test_base.rb
View
2  README.md
@@ -443,7 +443,7 @@ This creates fake `IronMQ::Message` instance on which you call for subscribers'
--
-### Acknowledge / Delete Message Push Status
+### Acknowledge / Delete Push Message for a Subscriber
```ruby
subscribers = queue.get(msg.id).subscribers # => [#<IronMQ::Subscriber:...>, ...]
View
7 test/test_base.rb
@@ -63,4 +63,11 @@ def assert_performance(time)
assert execution_time < time, "Execution time too big #{execution_time.round(2)}, should be #{time}"
end
+ alias_method :assert_not_nil, :refute_nil
+ alias_method :assert_not_equal, :refute_equal
+ alias_method :assert_raise, :assert_raises
+
+ def assert_nothing_raised(*)
+ yield
+ end
end
Please sign in to comment.
Something went wrong with that request. Please try again.