Sha256: 004caefa2490dd19aa160b8ade0c9f6d4c4b9fb87059bcd9a4294ed3b1506cc4
Contents?: true
Size: 487 Bytes
Versions: 32
Compression:
Stored size: 487 Bytes
Contents
require "spec_helper" describe Blogit do it "should allow developers to set configurations with a block" do initial_value = Blogit.configuration.current_blogger_method Blogit.configure do |config| config.current_blogger_method = :logged_in_user end user_set_value = Blogit.configuration.current_blogger_method initial_value.should_not eql(user_set_value) end after :all do Blogit.configure do |config| config.inspect end end end
Version data entries
32 entries across 32 versions & 2 rubygems