Sha256: db8b0fba1de9f307870e9239b82ec06b6f75ddb2c5d2a54008104451430c9ba0

Contents?: true

Size: 190 Bytes

Versions: 15

Compression:

Stored size: 190 Bytes

Contents

module Ctws
  module RequestSpecHelper
    def json
      JSON.parse(response.body)
    end
    def expect_success(value= true)
      # expect(json["success"]).to eq(value)
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
ctws-0.3.0.beta spec/support/ctws/request_spec_helper.rb
ctws-0.2.3.beta spec/support/ctws/request_spec_helper.rb
ctws-0.2.2.beta spec/support/ctws/request_spec_helper.rb
ctws-0.2.1.beta spec/support/ctws/request_spec_helper.rb
ctws-0.2.0.beta spec/support/ctws/request_spec_helper.rb
ctws-0.1.14.beta spec/support/ctws/request_spec_helper.rb
ctws-0.1.13.alpha spec/support/ctws/request_spec_helper.rb
ctws-0.1.12.alpha spec/support/ctws/request_spec_helper.rb
ctws-0.1.11.alpha spec/support/ctws/request_spec_helper.rb
ctws-0.1.10.alpha spec/support/ctws/request_spec_helper.rb
ctws-0.1.9.alpha spec/support/ctws/request_spec_helper.rb
ctws-0.1.8.alpha spec/support/ctws/request_spec_helper.rb
ctws-0.1.7.alpha spec/support/ctws/request_spec_helper.rb
ctws-0.1.6.alpha spec/support/ctws/request_spec_helper.rb
ctws-0.1.5.alpha spec/support/ctws/request_spec_helper.rb