Skip to content

Commit 6f86d7e

Browse files
committed
Remove RSpec dependency from packaged JRuby
I suppose nobody runs these 2 tests and so there is no need to package RSpec for the sake of unused code
1 parent bcae008 commit 6f86d7e

1 file changed

Lines changed: 0 additions & 26 deletions

File tree

rake-tasks/crazy_fun.rb

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -74,29 +74,3 @@ def create_tasks(files)
7474
end
7575
end
7676
end
77-
78-
if __FILE__ == $0
79-
require "rubygems"
80-
require "spec/autorun"
81-
82-
describe CrazyFun do
83-
let(:fun) { CrazyFun.new }
84-
85-
it "finds prebuilts with normal paths" do
86-
fun.prebuilt_roots << "firefox/prebuilt"
87-
expected_result = "firefox/prebuilt/i386/libnoblur.so"
88-
File.should_receive(:exists?).with(expected_result).and_return(true)
89-
90-
fun.find_prebuilt("build/firefox/i386/libnoblur.so").should == expected_result
91-
end
92-
93-
it "finds prebuilts with windows paths" do
94-
fun.prebuilt_roots << "firefox/prebuilt"
95-
expected_result = "firefox/prebuilt/i386/libnoblur.so"
96-
File.should_receive(:exists?).with(expected_result).and_return(true)
97-
98-
fun.find_prebuilt("build\\firefox\\i386\\libnoblur.so").should == expected_result
99-
end
100-
end
101-
102-
end

0 commit comments

Comments
 (0)