Sha256: 7a73bec27f5235864ccb3742bd1ff13b88c13556f6f7b7519fe62c41ace1b528
Contents?: true
Size: 583 Bytes
Versions: 1
Compression:
Stored size: 583 Bytes
Contents
require 'spec_helper' describe CleverReach do let(:klass) { CleverReach } it "should have a VERSION" do klass::VERSION.should_not be_nil end describe "Configuration" do # ---------------------------- it "should have a configuration instance" do klass.config.should be_instance_of(klass::Configuration) end it "should support configuration with a block" do klass::Configuration.class_eval { attr_accessor :foo } klass.configure do |config| config.foo = :bar end klass.config.foo.should == :bar end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
clever_reach-0.0.1 | spec/clever_reach_spec.rb |