aboutsummaryrefslogtreecommitdiffstats
path: root/spec/mspec/spec/mocks/mock_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/mspec/spec/mocks/mock_spec.rb')
-rw-r--r--spec/mspec/spec/mocks/mock_spec.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/mspec/spec/mocks/mock_spec.rb b/spec/mspec/spec/mocks/mock_spec.rb
index d996b5285c..c814ec7bfe 100644
--- a/spec/mspec/spec/mocks/mock_spec.rb
+++ b/spec/mspec/spec/mocks/mock_spec.rb
@@ -284,21 +284,21 @@ describe Mock, ".verify_call" do
ScratchPad.recorded.should == 1
end
- it "raises an expection when it is expected to yield but no block is given" do
+ it "raises an exception when it is expected to yield but no block is given" do
@proxy.and_yield(1, 2, 3)
lambda {
Mock.verify_call(@mock, :method_call)
}.should raise_error(SpecExpectationNotMetError)
end
- it "raises an expection when it is expected to yield more arguments than the block can take" do
+ it "raises an exception when it is expected to yield more arguments than the block can take" do
@proxy.and_yield(1, 2, 3)
lambda {
Mock.verify_call(@mock, :method_call) {|a, b|}
}.should raise_error(SpecExpectationNotMetError)
end
- it "does not raise an expection when it is expected to yield to a block that can take any number of arguments" do
+ it "does not raise an exception when it is expected to yield to a block that can take any number of arguments" do
@proxy.and_yield(1, 2, 3)
expect {
Mock.verify_call(@mock, :method_call) {|*a|}