Sha256: c33ecb8f7719c29c84d6696adff8a8bb69ac11d810aafd9af647ebf79be2e80c

Contents?: true

Size: 346 Bytes

Versions: 6

Compression:

Stored size: 346 Bytes

Contents

require "spec_helper"

describe Ruco::TMTheme do
  let(:theme){ Ruco::TMTheme.new('spec/fixtures/test.tmTheme') }

  it "parses foreground/background" do
    theme.foreground.should == '#4D4D4C'
    theme.background.should == '#FFFFFF'
  end

  it "parses rules" do
    theme.styles["keyword.operator.class"].should == ['#666969', nil]
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
ruco-0.2.18 spec/ruco/tm_theme_spec.rb
ruco-0.2.17 spec/ruco/tm_theme_spec.rb
ruco-0.2.16 spec/ruco/tm_theme_spec.rb
ruco-0.2.15 spec/ruco/tm_theme_spec.rb
ruco-0.2.14 spec/ruco/tm_theme_spec.rb
ruco-0.2.13 spec/ruco/tm_theme_spec.rb