Skip to content
This repository
Browse code

fixes test: load schema before models

  • Loading branch information...
commit 87cbca8683bf1643818a436d50336ff556af46ef 1 parent 559726a
Dejan Simic authored
4  CHANGELOG.md
Source Rendered
... ...
@@ -1,3 +1,7 @@
  1
+## 1.5.2, released 2012-05-05
  2
+* Works with Rails 3.2.1+ 
  3
+* Updated youtube regex to account for feature=player_embedded url param
  4
+
1 5
 ## 1.5.1, released 2012-02-18
2 6
 * Rails 3.2 support 
3 7
 * Gist & GoogleMap filter
2  auto_html.gemspec
... ...
@@ -1,6 +1,6 @@
1 1
 Gem::Specification.new do |gem|
2 2
   gem.name = 'auto_html'
3  
-  gem.version = '1.5.1'
  3
+  gem.version = '1.5.2'
4 4
   gem.date = Date.today.to_s
5 5
 
6 6
   gem.summary = "Transform URIs to appropriate markup"
2  test/fixture_setup.rb
@@ -2,6 +2,8 @@ module FixtureSetup
2 2
   fixtures_dir = File.dirname(__FILE__) + '/fixtures'
3 3
   connections = YAML.load_file("#{fixtures_dir}/database.yml")
4 4
   ActiveRecord::Base.establish_connection(connections['sqlite3'])
  5
+  ActiveRecord::Migration.verbose = false
  6
+  load "#{fixtures_dir}/schema.rb"
5 7
   
6 8
   def setup
7 9
     fixtures_dir = File.dirname(__FILE__) + '/fixtures'

0 notes on commit 87cbca8

Please sign in to comment.
Something went wrong with that request. Please try again.