Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ group :tinytds do
end

group :development do
gem 'byebug'
gem 'byebug', platform: [:mri, :mingw, :x64_mingw]
gem 'mocha'
gem 'minitest-spec-rails'
end
Expand Down
6 changes: 3 additions & 3 deletions test/cases/coerced_tests.rb
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ def test_add_column_without_limit_coerced

module ActiveRecord
class Migration
class ColumnsTest
class ColumnsTest < ActiveRecord::TestCase
# Our defaults are real 70000 integers vs '70000' strings.
coerce_tests! :test_rename_column_preserves_default_value_not_null
def test_rename_column_preserves_default_value_not_null_coerced
Expand Down Expand Up @@ -525,9 +525,8 @@ def test_condition_local_time_interpolation_with_default_timezone_utc_coerced
end
end
end
end


end


module ActiveRecord
Expand Down Expand Up @@ -778,6 +777,7 @@ def test_reverse_arel_assoc_order_with_function_coerced
topics = Topic.order(Arel.sql("LEN(title)") => :asc).reverse_order
assert_equal topics(:second).title, topics.first.title
end

end

class ActiveRecord::RelationTest < ActiveRecord::TestCase
Expand Down
2 changes: 1 addition & 1 deletion test/cases/schema_dumper_test_sqlserver.rb
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ def assert_line(column_name, options={})
if expected.nil?
_(actual).must_be_nil message
elsif expected.is_a?(Array)
actual.must_include expected, message
_(actual).must_include expected, message
elsif expected.is_a?(Float)
_(actual).must_be_close_to expected, 0.001
elsif expected.is_a?(Proc)
Expand Down