Sha256: 22e4547c76d5e71c6fecff63da2a56dc915e580d3160fef07becc8ce09fef756

Contents?: true

Size: 423 Bytes

Versions: 1

Compression:

Stored size: 423 Bytes

Contents

require 'spec_helper'

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

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
bushido-0.0.36 spec/app_spec/integration/app_claim_spec.rb