mirror of
https://github.com/pry/pry.git
synced 2022-11-09 12:35:05 -05:00
Fix specs for JRuby
This commit is contained in:
parent
990d3e8062
commit
83b01913d1
1 changed files with 18 additions and 24 deletions
|
@ -9,7 +9,6 @@ describe Pry::WrappedModule do
|
|||
end
|
||||
|
||||
describe "candidates" do
|
||||
before do
|
||||
class Host
|
||||
%w(spec/fixtures/candidate_helper1.rb
|
||||
spec/fixtures/candidate_helper2.rb).each do |file|
|
||||
|
@ -37,7 +36,6 @@ describe Pry::WrappedModule do
|
|||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
describe "number_of_candidates" do
|
||||
it 'should return the correct number of candidates' do
|
||||
|
@ -134,10 +132,6 @@ describe Pry::WrappedModule do
|
|||
Pry::WrappedModule(Host::ForeverAlone::DoublyNested::TriplyNested).doc.should =~ /nested docs/
|
||||
end
|
||||
end
|
||||
|
||||
after do
|
||||
Object.remove_const(:Host)
|
||||
end
|
||||
end
|
||||
|
||||
describe ".method_prefix" do
|
||||
|
|
Loading…
Reference in a new issue