Sha256: 6229000f85f76969e146e17bd676530fa302fb44bd7e108fda4b906049dcb8c6

Contents?: true

Size: 587 Bytes

Versions: 5

Compression:

Stored size: 587 Bytes

Contents

RSpec.describe Card::Set::TypePlusRight::CustomizedBootswatchSkin::Colors do
  let(:card) do
    Card::Env.params[:theme] = "journal"
    Card::Auth.as_bot do
      create_customized_bootswatch_skin "my skin"
    end
  end

  it "fetches variable value from variable card" do
    expect(card.colors_card.colors).to include(white: "#fff")
  end

  it "fetches missing variable value from bootstrap source" do
    pending "card-cap-bg is temporarily removed from the variables list"
    expect(card.colors_card.theme_colors)
      .to include("card-cap-bg": "rgba($black, .03)")
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
card-1.96.0 mod/bootstrap/spec/set/type_plus_right/customized_bootswatch_skin/colors_spec.rb
card-1.95.3 mod/bootstrap/spec/set/type_plus_right/customized_bootswatch_skin/colors_spec.rb
card-1.95.2 mod/bootstrap/spec/set/type_plus_right/customized_bootswatch_skin/colors_spec.rb
card-1.95.1 mod/bootstrap/spec/set/type_plus_right/customized_bootswatch_skin/colors_spec.rb
card-1.95.0 mod/bootstrap/spec/set/type_plus_right/customized_bootswatch_skin/colors_spec.rb