Sha256: f21a85c8f016c6092d29c00056d8fa70b4dae6bf9ac3a4c9edadaecef48d281b

Contents?: true

Size: 237 Bytes

Versions: 34

Compression:

Stored size: 237 Bytes

Contents

require 'spec_helper'

describe ActiveRemote::Base do
  describe "#initialize" do
    it "runs callbacks" do
      described_class.any_instance.should_receive(:run_callbacks).with(:initialize)
      described_class.new
    end
  end
end

Version data entries

34 entries across 34 versions & 1 rubygems

Version Path
active_remote-1.5.7 spec/lib/active_remote/base_spec.rb
active_remote-1.5.6 spec/lib/active_remote/base_spec.rb
active_remote-1.5.5 spec/lib/active_remote/base_spec.rb
active_remote-1.5.4 spec/lib/active_remote/base_spec.rb
active_remote-1.5.2 spec/lib/active_remote/base_spec.rb
active_remote-1.5.1 spec/lib/active_remote/base_spec.rb
active_remote-1.5.0 spec/lib/active_remote/base_spec.rb
active_remote-1.4.1 spec/lib/active_remote/base_spec.rb
active_remote-1.4.0 spec/lib/active_remote/base_spec.rb
active_remote-1.3.3 spec/lib/active_remote/base_spec.rb
active_remote-1.3.2 spec/lib/active_remote/base_spec.rb
active_remote-1.3.1 spec/lib/active_remote/base_spec.rb
active_remote-1.3.0 spec/lib/active_remote/base_spec.rb
active_remote-1.2.1 spec/lib/active_remote/base_spec.rb