Sha256: e962f57704503e3a024db1f5ecd7eacf532e6953018fa9be878a9a08fdafbb79

Contents?: true

Size: 509 Bytes

Versions: 2

Compression:

Stored size: 509 Bytes

Contents

require 'spec_helper'

describe "Config spec" do

  context "defaults" do
    it "has a set of sane plugins" do
      Aloha::Rails.default_plugins.should include('common/format')
      Aloha::Rails.default_plugins.should include('common/link')
      Aloha::Rails.default_plugins.should include('common/list')
    end
  end

  context "configuring" do
    it "should be configurable" do
      Aloha::Rails.default_plugins = ['foobar']
      Aloha::Rails.default_plugins.should == ['foobar']
    end
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
aloha-rails-0.0.2 spec/aloha_spec.rb
aloha-rails-0.0.1 spec/aloha_spec.rb