examples/lib/micronaut/expectations/wrap_expectation_example.rb in spicycode-micronaut-0.0.7 vs examples/lib/micronaut/expectations/wrap_expectation_example.rb in spicycode-micronaut-0.0.9
- old
+ new
@@ -1,9 +1,9 @@
require File.expand_path(File.dirname(__FILE__) + "/../../../example_helper")
-module Micronaut
- module Matchers
+describe Micronaut::Matchers do
+
describe "wrap_expectation" do
def stub_matcher
@_stub_matcher ||= simple_matcher do
end
@@ -23,8 +23,9 @@
it "should return false if there is an error" do
wrap_expectation failing_matcher do
raise "error"
end.should be_false
end
+
end
- end
+
end
\ No newline at end of file