Sha256: 887a8bb4395c10a6661a675c8ecd60260f18c9b99ef3c61f597713bd6c33717f

Contents?: true

Size: 275 Bytes

Versions: 19

Compression:

Stored size: 275 Bytes

Contents

require 'spec_helper'

describe Datagrid::Utils do
  

  describe ".warn_once" do
    it "should work" do
      silence_warnings do
        Datagrid::Utils.warn_once("hello").should be_true
      end
      Datagrid::Utils.warn_once("hello").should be_false
    end
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
datagrid-0.9.3 spec/datagrid/utils_spec.rb
datagrid-0.9.2 spec/datagrid/utils_spec.rb
datagrid-0.9.0 spec/datagrid/utils_spec.rb
datagrid-0.8.4 spec/datagrid/utils_spec.rb
datagrid-0.8.3 spec/datagrid/utils_spec.rb
datagrid-0.8.2 spec/datagrid/utils_spec.rb
datagrid-0.8.1 spec/datagrid/utils_spec.rb
datagrid-0.8.0 spec/datagrid/utils_spec.rb
datagrid-0.7.1 spec/datagrid/utils_spec.rb
datagrid-0.7.0 spec/datagrid/utils_spec.rb
datagrid-0.6.4 spec/datagrid/utils_spec.rb
datagrid-0.6.3 spec/datagrid/utils_spec.rb
datagrid-0.6.2 spec/datagrid/utils_spec.rb
datagrid-0.6.0 spec/datagrid/utils_spec.rb
datagrid-0.5.4 spec/datagrid/utils_spec.rb
datagrid-0.5.3 spec/datagrid/utils_spec.rb
datagrid-0.5.2 spec/datagrid/utils_spec.rb
datagrid-0.5.1 spec/datagrid/utils_spec.rb
datagrid-0.5.0 spec/datagrid/utils_spec.rb