Sha256: 3dcf7ab811d4b409c8f2fb6c561e883bb3fc2dddc4c0512759688a4b4fb79ca3

Contents?: true

Size: 433 Bytes

Versions: 6

Compression:

Stored size: 433 Bytes

Contents

require "rspec/core"

module RSpec
  module Apotomo
    class Railtie < ::Rails::Railtie
      rake_tasks do
        load "rspec-apotomo/tasks.rake"
      end

      initializer 'apotomo.rspec' do
        require 'rspec/rails/example/widget_example_group'
        RSpec.configure do |c|
          c.include RSpec::Rails::WidgetExampleGroup, :example_group => { :file_path => /spec\/widgets/ }
        end
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
rspec-apotomo-0.9.6 lib/rspec-apotomo.rb
rspec-apotomo-0.9.5 lib/rspec-apotomo.rb
rspec-apotomo-0.9.4 lib/rspec-apotomo.rb
rspec-apotomo-0.9.3 lib/rspec-apotomo.rb
rspec-apotomo-0.9.2 lib/rspec-apotomo.rb
rspec-apotomo-0.9.1 lib/rspec-apotomo.rb