summaryrefslogtreecommitdiff
path: root/spec/pryrc_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/pryrc_spec.rb')
-rw-r--r--spec/pryrc_spec.rb13
1 files changed, 5 insertions, 8 deletions
diff --git a/spec/pryrc_spec.rb b/spec/pryrc_spec.rb
index 59f2eed9..e5bfe259 100644
--- a/spec/pryrc_spec.rb
+++ b/spec/pryrc_spec.rb
@@ -24,16 +24,13 @@ describe Pry do
expect(TEST_RC).to eq [0]
end
- # Resolving symlinks doesn't work on jruby 1.9 [jruby issue #538]
- unless Pry::Helpers::Platform.jruby_19?
- it "should not load the rc file twice if it's symlinked differently" do
- Pry.config.rc_file = 'spec/fixtures/testrc'
- stub_const('Pry::LOCAL_RC_FILE', 'spec/fixtures/testlinkrc')
+ it "should not load the rc file twice if it's symlinked differently" do
+ Pry.config.rc_file = 'spec/fixtures/testrc'
+ stub_const('Pry::LOCAL_RC_FILE', 'spec/fixtures/testlinkrc')
- Pry.start(self, input: StringIO.new("exit-all\n"), output: StringIO.new)
+ Pry.start(self, input: StringIO.new("exit-all\n"), output: StringIO.new)
- expect(TEST_RC).to eq [0]
- end
+ expect(TEST_RC).to eq [0]
end
it "should not load the pryrc if pryrc's directory permissions do not allow this" do