Sha256: 524dbcf6fbb6efe8b27fa2a6edda60eb1ddf2cdfdad42cf502f36ced4aa79381
Contents?: true
Size: 560 Bytes
Versions: 5
Compression:
Stored size: 560 Bytes
Contents
require "pathname" begin require "bacon" rescue LoadError require "rubygems" require "bacon" end begin if (local_path = Pathname.new(__FILE__).dirname.join("..", "lib", "<%= @options[:lib_name_u] %>.rb")).file? require local_path else require "<%= @options[:lib_name_u] %>" end rescue LoadError require "rubygems" require "<%= @options[:lib_name_u] %>" end Bacon.summary_on_exit describe "Spec Helper" do it "Should bring our library namespace in" do <%= @options[:lib_name] %>.should == <%= @options[:lib_name] %> end end
Version data entries
5 entries across 5 versions & 2 rubygems