summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Irwin <conrad.irwin@gmail.com>2012-11-18 01:33:32 -0800
committerConrad Irwin <conrad.irwin@gmail.com>2012-11-18 01:33:32 -0800
commit71bd613f13c354f64a3ed47c3acff16c28e7c4b6 (patch)
tree97ed9a17922769fcbd9ab951f5a3864cf1c62a1c
parent74b3fe6d4717709a5b2d95dd321e5f94b4a44852 (diff)
downloadpry-71bd613f13c354f64a3ed47c3acff16c28e7c4b6.tar.gz
More spec fixtures around
-rw-r--r--spec/commands/whereami_spec.rb4
-rw-r--r--spec/fixtures/example.erb (renamed from spec/commands/example.erb)0
2 files changed, 2 insertions, 2 deletions
diff --git a/spec/commands/whereami_spec.rb b/spec/commands/whereami_spec.rb
index 378e72ec..04855d1a 100644
--- a/spec/commands/whereami_spec.rb
+++ b/spec/commands/whereami_spec.rb
@@ -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
diff --git a/spec/commands/example.erb b/spec/fixtures/example.erb
index 43c2efd2..43c2efd2 100644
--- a/spec/commands/example.erb
+++ b/spec/fixtures/example.erb