Sha256: bb59906b8730b6b1434a87e498c6e3a36408832f5bcd29a7e03b8cecc39ad201
Contents?: true
Size: 492 Bytes
Versions: 6
Compression:
Stored size: 492 Bytes
Contents
require 'spec_helper' module Brightcontent describe ModelExtensions do let(:columns) { ["id", "name", "body", "created_at", "updated_at", "featured", "author_id"] } 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
6 entries across 6 versions & 1 rubygems