Sha256: a41e2e0a730daaa4b4f2c7ba6c46f607add9155cc52fd9836440e58d3084afef

Contents?: true

Size: 229 Bytes

Versions: 9

Compression:

Stored size: 229 Bytes

Contents

require 'spec_helper'

describe 'config' do
  it "shouldn't blow up when I call Datatable.config" do
    Datatable::Base.config do |config|
      config.foo = "bar"
    end
    Datatable::Base.config.foo.should == "bar"
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
datatable-0.2pre6 example_app/spec/datatables/config_spec.rb
datatable-0.2pre5 example_app/spec/datatables/config_spec.rb
datatable-0.2pre4 example_app/spec/datatables/config_spec.rb
datatable-0.2pre3 example_app/spec/datatables/config_spec.rb
datatable-0.2pre2 example_app/spec/datatables/config_spec.rb
datatable-0.2pre1 example_app/spec/datatables/config_spec.rb
datatable-0.1.1alpha4 example_app/spec/datatables/config_spec.rb
datatable-0.1.1alpha1 example_app/spec/datatables/config_spec.rb
datatable-0.1.0alpha2 example_app/spec/datatables/config_spec.rb