Skip to content

Commit

Permalink
added fixture file
Browse files Browse the repository at this point in the history
  • Loading branch information
Kosuke Tanabe committed Feb 24, 2012
1 parent 62bae2a commit bb08068
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Gemfile
@@ -1,4 +1,4 @@
source "http://rubygems.org"
source "https://rubygems.org"

# Declare your gem's dependencies in enju_barcode.gemspec.
# Bundler will treat runtime dependencies like base dependencies, and
Expand All @@ -9,7 +9,7 @@ gemspec
# your gemspec. These might include edge Rails or gems from your path or
# Git. Remember to move these dependencies to your gemspec before releasing
# your gem to rubygems.org.
gem 'factory_girl_rails', '~> 1.4'
gem 'factory_girl_rails', '~> 1.7'

# To use debugger
# gem 'ruby-debug19', :require => 'ruby-debug'
13 changes: 13 additions & 0 deletions spec/fixtures/barcodes.yml
@@ -0,0 +1,13 @@
# Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html

barcode_00001:
barcodable_id: 1
barcodable_type: Item
data:
code_word: aaaaaa

barcode_00002:
barcodable_id: 2
barcodable_type: Item
data:
code_word: bbbbbb

0 comments on commit bb08068

Please sign in to comment.