Sha256: 96774d1c9d278806dd1fb514fdfb5b4a041ac10586a593ac345cb0c72034a234

Contents?: true

Size: 244 Bytes

Versions: 5

Compression:

Stored size: 244 Bytes

Contents

require_relative '../../helper_no_rails'

class RailsDataExplorer
  module Utils
    describe ColorScale do

      it 'computes a color from an input value' do
        ColorScale.new.compute(0).must_equal '#000000'
      end

    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
rails-data-explorer-1.0.4 spec/rails_data_explorer/utils/color_scale_spec.rb
rails-data-explorer-1.0.3 spec/rails_data_explorer/utils/color_scale_spec.rb
rails-data-explorer-1.0.2 spec/rails_data_explorer/utils/color_scale_spec.rb
rails-data-explorer-1.0.1 spec/rails_data_explorer/utils/color_scale_spec.rb
rails-data-explorer-1.0.0 spec/rails_data_explorer/utils/color_scale_spec.rb