Sha256: 2590930ef67474954980fc8c6de4f2380869edb9c5530c1fbae8eca4ec5529f6

Contents?: true

Size: 529 Bytes

Versions: 1

Compression:

Stored size: 529 Bytes

Contents

require File.expand_path(File.dirname(__FILE__) + '/../../../spec_helper')

describe 'observer helper' do
  use_helper :observer

  before :each do              
    create_observer :account
  end

  after :each do              
    # remove_observer :account
  end
    
  it "should have an :account observer file that contains an AccountObserver class" do
    # root_dir.should have_observer_file :account do |file|
    #   file.should have_observer_class :account
    # end
    root_dir.should have_observer :account
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rails-app-spec-0.1.0 spec/rails_app_spec/matchers/artifact/observer_spec.rb