Sha256: f08cf8d423e95ad3787960f794c638bdd7ee909e4d5b1d650139e037c198f6ff

Contents?: true

Size: 484 Bytes

Versions: 9

Compression:

Stored size: 484 Bytes

Contents

module RSpec
  module Rabl
    module Helpers
      def rabl_data(opts = {},&block)
        let(:_rabl_opts){ opts }
        let(:_rabl_data, &block)
      end

      def rabl_template(&block)
        let(:_rabl_template, &block)
      end

      def view_path(relative_path)
        let(:_view_path) { relative_path }
      end

      def rabl_config(local_config)
        let(:_rabl_config) { RSpec.configuration.rabl_configuration.merge(local_config) }
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
rspec-rabl-2.1.0 lib/rspec/rabl/helpers.rb
rspec-rabl-2.0.0 lib/rspec/rabl/helpers.rb
rspec-rabl-1.1.1 lib/rspec/rabl/helpers.rb
rspec-rabl-1.1.0 lib/rspec/rabl/helpers.rb
rspec-rabl-1.0.0 lib/rspec/rabl/helpers.rb
rspec_rabl-0.0.4 lib/rspec/rabl/helpers.rb
rspec_rabl-0.0.3 lib/rspec/rabl/helpers.rb
rspec_rabl-0.0.2 lib/rspec/rabl/helpers.rb
rspec_rabl-0.0.1 lib/rspec/rabl/helpers.rb