Sha256: c4b1acc92feab783870f917c19ec72c785b81706ac18da92b4e4ab0c40912d4d

Contents?: true

Size: 431 Bytes

Versions: 10

Compression:

Stored size: 431 Bytes

Contents

require 'spec_helper'

describe 'claiming an app' do
  it "marks claimed = false in the markup" do
    visit "/"
    #page.body.include?("var _cloudfuji_claimed = false;").should be_true
  end

  it "marks claimed = false in the markup" do
    preserve_envs("CLOUDFUJI_CLAIMED") do
      ENV["CLOUDFUJI_CLAIMED"] = "true"
      visit "/"
      #page.body.include?("var _cloudfuji_claimed = true;").should be_true
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
cloudfuji-0.0.46 spec/app_spec/integration/app_claim_spec.rb
cloudfuji-0.0.45 spec/app_spec/integration/app_claim_spec.rb
cloudfuji-0.0.44 spec/app_spec/integration/app_claim_spec.rb
cloudfuji-0.0.43 spec/app_spec/integration/app_claim_spec.rb
cloudfuji-0.0.42 spec/app_spec/integration/app_claim_spec.rb
cloudfuji-0.0.41 spec/app_spec/integration/app_claim_spec.rb
cloudfuji-0.0.40 spec/app_spec/integration/app_claim_spec.rb
cloudfuji-0.0.39 spec/app_spec/integration/app_claim_spec.rb
cloudfuji-0.0.38 spec/app_spec/integration/app_claim_spec.rb
cloudfuji-0.0.37 spec/app_spec/integration/app_claim_spec.rb