File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ def write_version(f)
9595
9696 def write_spec ( file , meth , exists )
9797 if exists
98- out = `#{ ruby } #{ MSPEC_HOME } /bin/mspec-run --dry-run -fs -e '#{ meth } ' #{ file } `
98+ out = `#{ ruby } #{ MSPEC_HOME } /bin/mspec-run --dry-run --unguarded - fs -e '#{ meth } ' #{ file } `
9999 return if out . include? ( meth )
100100 end
101101
@@ -153,4 +153,3 @@ def self.main
153153 script . run
154154 end
155155end
156-
Original file line number Diff line number Diff line change 196196 it "checks if specs exist for the method if the spec file exists" do
197197 name = Regexp . escape ( @script . ruby )
198198 @script . should_receive ( :` ) . with (
199- %r"#{ name } #{ MSPEC_HOME } /bin/mspec-run --dry-run -fs -e 'Object#inspect' spec/core/tcejbo/inspect_spec.rb" )
199+ %r"#{ name } #{ MSPEC_HOME } /bin/mspec-run --dry-run --unguarded - fs -e 'Object#inspect' spec/core/tcejbo/inspect_spec.rb" )
200200 @script . write_spec ( "spec/core/tcejbo/inspect_spec.rb" , "Object#inspect" , true )
201201 end
202202
You can’t perform that action at this time.
0 commit comments