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-2.1.1 spec/lib/active_remote/base_spec.rb
active_remote-2.1.0 spec/lib/active_remote/base_spec.rb
active_remote-2.1.0.rc2 spec/lib/active_remote/base_spec.rb
active_remote-2.1.0.rc1 spec/lib/active_remote/base_spec.rb
active_remote-2.1.0.beta2 spec/lib/active_remote/base_spec.rb
active_remote-2.1.0.beta1 spec/lib/active_remote/base_spec.rb
active_remote-2.0.2 spec/lib/active_remote/base_spec.rb
active_remote-2.0.1 spec/lib/active_remote/base_spec.rb
active_remote-2.0.0 spec/lib/active_remote/base_spec.rb
active_remote-2.0.0.rc2 spec/lib/active_remote/base_spec.rb
active_remote-2.0.0.rc1 spec/lib/active_remote/base_spec.rb
active_remote-1.8.1 spec/lib/active_remote/base_spec.rb
active_remote-1.8.0 spec/lib/active_remote/base_spec.rb
active_remote-1.8.0.rc1 spec/lib/active_remote/base_spec.rb
active_remote-1.7.1 spec/lib/active_remote/base_spec.rb
active_remote-1.7.0 spec/lib/active_remote/base_spec.rb
active_remote-1.6.1 spec/lib/active_remote/base_spec.rb
active_remote-1.6.0 spec/lib/active_remote/base_spec.rb
active_remote-1.5.9 spec/lib/active_remote/base_spec.rb
active_remote-1.5.8 spec/lib/active_remote/base_spec.rb