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