Sha256: c7a50a888dfdc7518a4df1f96a257bfda7b2a14537ebfc1155971bfb67ad6c6e

Contents?: true

Size: 489 Bytes

Versions: 5

Compression:

Stored size: 489 Bytes

Contents

require 'rspec'
require 'infrataster/resources'

module Infrataster
  module Helpers
    module ResourceHelper
      include RSpec::Matchers

      def server(*args)
        Resources::ServerResource.new(*args)
      end

      def http(*args)
        Resources::HttpResource.new(*args)
      end

      def mysql_query(*args)
        Resources::MysqlQueryResource.new(*args)
      end

      def capybara(*args)
        Resources::CapybaraResource.new(*args)
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
infrataster-0.1.13 lib/infrataster/helpers/resource_helper.rb
infrataster-0.1.12 lib/infrataster/helpers/resource_helper.rb
infrataster-0.1.11 lib/infrataster/helpers/resource_helper.rb
infrataster-0.1.10 lib/infrataster/helpers/resource_helper.rb
infrataster-0.1.9 lib/infrataster/helpers/resource_helper.rb