Sha256: dec5537f6acb6cbd250407cca27cb6014333bc7ceda58ee20e9cc6f129131ae0

Contents?: true

Size: 280 Bytes

Versions: 8

Compression:

Stored size: 280 Bytes

Contents

require 'deprecated_classes'

describe ActiveModelErrorConverter, :type => :deprecation do
  let :resource do
    double('resource')
  end

  it "should be the correct class" do
    expect(ActiveModelErrorConverter.new(resource)).to be_a(Xing::Services::ErrorConverter)
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
xing-backend-0.0.17 spec/deprecated_classes/active_model_error_converter_spec.rb
xing-backend-0.0.16 spec/deprecated_classes/active_model_error_converter_spec.rb
xing-backend-0.0.15 spec/deprecated_classes/active_model_error_converter_spec.rb
xing-backend-0.0.14 spec/deprecated_classes/active_model_error_converter_spec.rb
xing-backend-0.0.13 spec/deprecated_classes/active_model_error_converter_spec.rb
xing-backend-0.0.12 spec/deprecated_classes/active_model_error_converter_spec.rb
xing-backend-0.0.11 spec/deprecated_classes/active_model_error_converter_spec.rb
xing-backend-0.0.10 spec/deprecated_classes/active_model_error_converter_spec.rb