Sha256: e7bf460d9483764bdb7d6be14a17281611b49622c7e3d2478ad4cdc6963aab27

Contents?: true

Size: 476 Bytes

Versions: 1

Compression:

Stored size: 476 Bytes

Contents

require '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.2.0 spec/rails_app_spec/matchers/artifact/observer_spec.rb