1
0
Fork 0
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:
Josh Cheek 2014-08-15 12:51:51 -06:00
parent 990d3e8062
commit 83b01913d1

View file

@ -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