Sha256: 01c08b42e18cc3aee15857ef4dcc79435628087090911a0d5836cd8dc798b5c7
Contents?: true
Size: 502 Bytes
Versions: 18
Compression:
Stored size: 502 Bytes
Contents
require 'spec_helper' module Brightcontent describe ModelExtensions do let(:columns) { ["id", "name", "body", "created_at", "updated_at", "featured", "author_id", "active"] } subject(:blog) { Blog } its(:brightcontent_columns) { should eq columns } context "with extra method" do before { Blog.add_brightcontent_column("test_column") } its(:brightcontent_columns) { should eq columns + ["test_column"] } its(:column_names) { should eq columns } end end end
Version data entries
18 entries across 18 versions & 1 rubygems