blob: 3be704beb6e0fd57b52d02a231306f66a4039331 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
require 'spec_helper'
expected_output = <<EOS
RUBY_DESCRIPTION
.
Finished in D.DDDDDD seconds
1 file, 1 example, 1 expectation, 0 failures, 0 errors, 0 tagged
EOS
describe "MSpec" do
it "does not define public methods on Object" do
out, ret = run_mspec("run", "spec/fixtures/object_methods_spec.rb")
out.should == expected_output
ret.success?.should == true
end
end
|