Skip to content

Instantly share code, notes, and snippets.

View forkdiffmerge's full-sized avatar

Fork / Diff / Merge forkdiffmerge

View GitHub Profile
@forkdiffmerge
forkdiffmerge / uncovered_spec.rb
Created November 7, 2012 17:52 — forked from mbj/uncovered_spec.rb
incomplete specs that trigger uncovered mutations
require 'spec_helper'
describe AliasSet, '#initialize' do
let(:prefix) { :songs }
let(:attributes) { Mapper::AttributeSet.new << attribute }
let(:attribute) { Mapper::Attribute.build(:id, :type => Integer) }
let(:excluded) { [ :id ] }
context 'with prefix passed to #initialize' do
subject { described_class.new(prefix) }