Sha256: 8c61e34dd7904643cc083acead8be8487e1e90d6a46a9ac3b93ef135e04dd967
Contents?: true
Size: 564 Bytes
Versions: 10
Compression:
Stored size: 564 Bytes
Contents
require 'spec_helper' describe PoseWord do describe 'class methods' do subject { PoseWord } describe '::remove_unused_words' do before :each do instantiate_objects PoseWord.remove_unused_words end context 'having unused words' do let(:instantiate_objects) { FactoryGirl.create :pose_word } its(:count) { should == 0 } end context 'having used words' do let(:instantiate_objects) { FactoryGirl.create :posable_one } its(:count) { should > 0 } end end end end
Version data entries
10 entries across 10 versions & 1 rubygems