From c913c50c68c79e0ecfc2cd45ada85ebfa74dd0a4 Mon Sep 17 00:00:00 2001 From: Neil Lalonde Date: Thu, 22 May 2014 11:14:22 -0400 Subject: [PATCH] Remove that spec --- spec/models/color_scheme_spec.rb | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/spec/models/color_scheme_spec.rb b/spec/models/color_scheme_spec.rb index 90c409da668..288a43878d4 100644 --- a/spec/models/color_scheme_spec.rb +++ b/spec/models/color_scheme_spec.rb @@ -2,24 +2,6 @@ require 'spec_helper' describe ColorScheme do - describe '#base_colors' do - it 'parses the colors.scss file and returns a hash' do - described_class.stubs(:read_colors_file).returns([ - '$primary: #333333 !default;', - '$secondary: #ffffff !default; ', - '$highlight: #ffff4d;', - ' $danger:#e45735 !default;', - ]) - - colors = described_class.base_colors - colors.should be_a(Hash) - colors['primary'].should == '333333' - colors['secondary'].should == 'ffffff' - colors['highlight'].should == 'ffff4d' - colors['danger'].should == 'e45735' - end - end - let(:valid_params) { {name: "Best Colors Evar", enabled: true, colors: valid_colors} } let(:valid_colors) { [ {name: '$primary_background_color', hex: 'FFBB00'},