More spec fixtures around
This commit is contained in:
parent
74b3fe6d47
commit
71bd613f13
|
@ -56,7 +56,7 @@ describe "whereami" do
|
|||
it 'should show description and correct code when __LINE__ and __FILE__ are outside @method.source_location' do
|
||||
class Cor
|
||||
def blimey!
|
||||
eval <<-END, binding, "spec/cmd/example.erb", 1
|
||||
eval <<-END, binding, "spec/fixtures/example.erb", 1
|
||||
pry_eval(binding, 'whereami')
|
||||
END
|
||||
end
|
||||
|
@ -70,7 +70,7 @@ describe "whereami" do
|
|||
|
||||
it 'should show description and correct code when @method.source_location would raise an error' do
|
||||
class Cor
|
||||
eval <<-END, binding, "spec/cmd/example.erb", 1
|
||||
eval <<-END, binding, "spec/fixtures/example.erb", 1
|
||||
def blimey!
|
||||
pry_eval(binding, 'whereami')
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue