Skip to content

Commit 8c18b42

Browse files
committedSep 30, 2014
Test require_tree support in Opal::Environment
1 parent 0530528 commit 8c18b42

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed
 

‎spec/lib/sprockets/environment_spec.rb

+7
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,11 @@
2020
end
2121
end
2222

23+
describe 'require_tree helper' do
24+
it 'is handled by the processor' do
25+
source = env['require_tree_test'].source
26+
expect(source).to include('required_file1')
27+
expect(source).to include('required_file2')
28+
end
29+
end
2330
end

0 commit comments

Comments
 (0)
Please sign in to comment.