Sha256: e131a59256110a0227ec6d44f8109f4d685e8294b374d175e46239e7b0fb9757

Contents?: true

Size: 478 Bytes

Versions: 24

Compression:

Stored size: 478 Bytes

Contents

require 'spec_helper'

describe Riveter::QueryFilter do
  it_should_behave_like "a class with attributes", TestQueryFilter

  describe "class" do
    subject { TestQueryFilter }

    describe ".filter_name" do
      it { should respond_to(:filter_name) }
      it { subject.filter_name.should be_a(ActiveModel::Name) }
    end

    describe ".i18n_scope" do
      it { should respond_to(:i18n_scope) }
      it { subject.i18n_scope.should eq(:query_filters) }
    end
  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
riveter-0.8.3 spec/riveter/query_filter_spec.rb
riveter-0.8.2 spec/riveter/query_filter_spec.rb
riveter-0.8.1 spec/riveter/query_filter_spec.rb
riveter-0.8.0 spec/riveter/query_filter_spec.rb
riveter-0.7.0 spec/riveter/query_filter_spec.rb
riveter-0.6.0 spec/riveter/query_filter_spec.rb
riveter-0.3.0 spec/riveter/query_filter_spec.rb
riveter-0.2.1 spec/riveter/query_filter_spec.rb
riveter-0.2.0 spec/riveter/query_filter_spec.rb
riveter-0.1.1 spec/riveter/query_filter_spec.rb
riveter-0.0.15 spec/riveter/query_filter_spec.rb
riveter-0.0.14 spec/riveter/query_filter_spec.rb
riveter-0.0.13 spec/riveter/query_filter_spec.rb
riveter-0.0.12 spec/riveter/query_filter_spec.rb
riveter-0.0.11 spec/riveter/query_filter_spec.rb
riveter-0.0.10 spec/riveter/query_filter_spec.rb
riveter-0.0.9 spec/riveter/query_filter_spec.rb
riveter-0.0.8 spec/riveter/query_filter_spec.rb
riveter-0.0.7 spec/riveter/query_filter_spec.rb
riveter-0.0.6 spec/riveter/query_filter_spec.rb