Skip to content

Commit

Permalink
fix error in variable initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
eef committed Nov 3, 2013
1 parent ec38f8f commit a88fef0
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions spec/models/source/bibtex_spec.rb
Expand Up @@ -153,12 +153,12 @@
end

context 'instance methods - ' do
before(:each) {
# this is a TW Source::Bibtex - type article, with just a title
@bibtex_source = FactoryGirl.build(:valid_bibtex_source)
#@bibtex_book = FactoryGirl.build(:valid_bibtex_source_book_title_only)
}
context 'with an existing instance of Source::Bibtex' do
before(:each) {
# this is a TW Source::Bibtex - type article, with just a title
@bibtex_source = FactoryGirl.build(:valid_bibtex_source)
#@bibtex_book = FactoryGirl.build(:valid_bibtex_source_book_title_only)
}

context 'create_related_people()' do
specify 'can not be run when .new_record?' do
Expand Down

0 comments on commit a88fef0

Please sign in to comment.