mirror of
https://github.com/pry/pry.git
synced 2022-11-09 12:35:05 -05:00
More spec fixtures around
This commit is contained in:
parent
74b3fe6d47
commit
71bd613f13
2 changed files with 2 additions and 2 deletions
|
@ -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 a new issue