Sha256: 54ba03e5941ae205c1dcf49bfb1c249a18964027bd7e0dec5df630eac0302567

Contents?: true

Size: 280 Bytes

Versions: 5

Compression:

Stored size: 280 Bytes

Contents

require "rake"

shared_context "rake", :rake => true do
  let(:rake){ Rake.application = Rake::Application.new }
  let(:task){ rake[self.class.description] }

  before do
    rake.rake_require("lib/figaro/tasks", [ROOT.to_s], [])
    Rake::Task.define_task(:environment)
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
figaro-0.5.3 spec/support/rake.rb
figaro-0.5.2 spec/support/rake.rb
figaro-0.5.1 spec/support/rake.rb
figaro-0.5.0 spec/support/rake.rb
figaro-0.4.1 spec/support/rake.rb