Sha256: ea034da18099b0e39cc6f39068bc93e1762d6e5b16258c1ffa8d236a9d3919ff

Contents?: true

Size: 262 Bytes

Versions: 9

Compression:

Stored size: 262 Bytes

Contents

require 'spec_helper'

describe ActiveData::Model do
  let(:model) { stub_model }
  specify { expect { model.blablabla }.to raise_error NoMethodError }

  context 'Fault tolerance' do
    specify { expect { model.new(foo: 'bar') }.not_to raise_error }
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
active_data-1.2.0 spec/lib/active_data/model_spec.rb
active_data-1.1.7 spec/lib/active_data/model_spec.rb
active_data-1.1.6 spec/lib/active_data/model_spec.rb
active_data-1.1.5 spec/lib/active_data/model_spec.rb
active_data-1.1.4 spec/lib/active_data/model_spec.rb
active_data-1.1.3 spec/lib/active_data/model_spec.rb
active_data-1.1.2 spec/lib/active_data/model_spec.rb
active_data-1.1.1 spec/lib/active_data/model_spec.rb
active_data-1.1.0 spec/lib/active_data/model_spec.rb