Sha256: 12cbbff8086f006b2bcf66e2eb26f8eb546877b6826e23430cd4e9f42f9d82cb
Contents?: true
Size: 537 Bytes
Versions: 6
Compression:
Stored size: 537 Bytes
Contents
require 'spec_helper' describe Eastwood do describe '#application_name' do it { should respond_to( :application_name ) } its( :application_name ){ should eq( ::Rails.application.class.name.split( '::' ).first ) } end describe '#env' do it { should respond_to( :env ) } it { should delegate( :env ).to( ::Rails, :env ) } end describe '#named_routes' do it { should respond_to( :named_routes ) } it { should delegate( :named_routes ).to( ::Rails.application.routes.named_routes, :routes ) } end end
Version data entries
6 entries across 6 versions & 1 rubygems