Namespace
Methods
S
T
Included Modules
Instance Public methods
setup()
# File activerecord/test/cases/quoting_test.rb, line 14
def setup
  @quoter = Class.new { include Quoting }.new
end
test_quote_column_name()
# File activerecord/test/cases/quoting_test.rb, line 26
def test_quote_column_name
  assert_equal "foo", @quoter.quote_column_name('foo')
end
test_quote_table_name()
# File activerecord/test/cases/quoting_test.rb, line 30
def test_quote_table_name
  assert_equal "foo", @quoter.quote_table_name('foo')
end
test_quote_table_name_calls_quote_column_name()
# File activerecord/test/cases/quoting_test.rb, line 34
def test_quote_table_name_calls_quote_column_name
  @quoter.extend(Module.new {
    def quote_column_name(string)
      'lol'
    end
test_quoted_false()
# File activerecord/test/cases/quoting_test.rb, line 22
def test_quoted_false
  assert_equal "'f'", @quoter.quoted_false
end
test_quoted_true()
# File activerecord/test/cases/quoting_test.rb, line 18
def test_quoted_true
  assert_equal "'t'", @quoter.quoted_true
end