Sha256: 105b3e3cc2db45b5ceadee083ae930c07078efb149df11ca5d6d1aee3cbcb3ee

Contents?: true

Size: 330 Bytes

Versions: 12

Compression:

Stored size: 330 Bytes

Contents

require "rake"

APP_RAKEFILE = File.expand_path("../../../../spec/dummy/Rakefile", __FILE__)
load "rails/tasks/engine.rake"

# Hat tip: http://robots.thoughtbot.com/test-rake-tasks-like-a-boss
shared_context "rake" do
  let(:task_name) { self.class.top_level_description }
  subject         { Rake::Task["app:#{task_name}"] }
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
detour-0.0.15 spec/support/shared_contexts/rake.rb
detour-0.0.14 spec/support/shared_contexts/rake.rb
detour-0.0.13 spec/support/shared_contexts/rake.rb
detour-0.0.12 spec/support/shared_contexts/rake.rb
detour-0.0.11 spec/support/shared_contexts/rake.rb
detour-0.0.10 spec/support/shared_contexts/rake.rb
detour-0.0.9 spec/support/shared_contexts/rake.rb
detour-0.0.7 spec/support/shared_contexts/rake.rb
detour-0.0.6 spec/support/shared_contexts/rake.rb
detour-0.0.5 spec/support/shared_contexts/rake.rb
detour-0.0.3 spec/support/shared_contexts/rake.rb
detour-0.0.2 spec/support/shared_contexts/rake.rb