bootstrap-ruby/rails-bootstrap-forms — pull request #159 by neerfri (2014-10-15 07:14:16+00:00)
Title: Resolve failing tests with new bundler

This updates the `timecop` gem to resolve failing tests with recent versions of bundler

references:
http://stackoverflow.com/questions/16341564/timecop-and-ruby-2-0-0/16509295#16509295
https://github.com/travisjeffery/timecop/pull/85
https://github.com/travisjeffery/timecop/issues/83#issuecomment-17766811

The output before the change:
```
$ rake test
Run options: --seed 61641

# Running tests:

.......................................................................................................FF.FF...........

Finished tests in 1.335300s, 89.1186 tests/s, 92.8630 assertions/s.

1) Failure:
BootstrapSelectsTest#test_date_selects_with_options_and_html_options_are_wrapped_correctly [/Users/neer/src/neerfri/bootstrap_form/test/bootstrap_selects_test.rb:87]:
--- expected
+++ actual
@@ -1,7 +1,5 @@
"

Misc

-
2007

-
2008

2009

2010

2011

@@ -11,6 +9,8 @@

2015

2016

2017

+
2018

+
2019

2) Failure:
BootstrapSelectsTest#test_date_selects_with_options_are_wrapped_correctly [/Users/neer/src/neerfri/bootstrap_form/test/bootstrap_selects_test.rb:80]:
--- expected
+++ actual
@@ -1,7 +1,5 @@
"

Misc

-
2007

-
2008

2009

2010

2011

@@ -11,6 +9,8 @@

2015

2016

2017

+
2018

+
2019

3) Failure:
BootstrapSelectsTest#test_datetime_selects_with_options_and_html_options_are_wrapped_correctly [/Users/neer/src/neerfri/bootstrap_form/test/bootstrap_selects_test.rb:130]:
--- expected
+++ actual
@@ -1,7 +1,5 @@
"

Misc

-
2007

-
2008

2009

2010

2011

@@ -11,6 +9,8 @@

2015

2016

2017

+
2018

+
2019

4) Failure:
BootstrapSelectsTest#test_datetime_selects_with_options_are_wrapped_correctly [/Users/neer/src/neerfri/bootstrap_form/test/bootstrap_selects_test.rb:123]:
--- expected
+++ actual
@@ -1,7 +1,5 @@
"

Misc

-
2007

-
2008

2009

2010

2011

@@ -11,6 +9,8 @@

2015

2016

2017

+
2018

+
2019

119 tests, 124 assertions, 4 failures, 0 errors, 0 skips
rake aborted!
Command failed with status (1): [ruby -I"lib:lib:test" -I"/Users/neer/src/neerfri/bootstrap_form/.bundle/gems/rake-10.1.0/lib" "/Users/neer/src/neerfri/bootstrap_form/.bundle/gems/rake-10.1.0/lib/rake/rake_test_loader.rb" "test/**/*_test.rb" ]
./.bundle/binstubs/rake:16:in `load'
./.bundle/binstubs/rake:16:in `

'
Tasks: TOP => test
(See full trace by running task with --trace)
```

after the change all tests pass