Navigation Menu

Skip to content

Commit

Permalink
test: re-order
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Feb 9, 2014
1 parent 0d9e6ab commit 276aa5b
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions test/test-converter.rb
Expand Up @@ -26,6 +26,23 @@ def setup
@converter = Grn2Drn::Converter.new(options)
end

private
def date
Time.utc(2013, 11, 29, 0, 0, 0)
end

def formatted_date
"2013-11-29T00:00:00Z"
end

def reply_to
"localhost:20033"
end

def dataset
"test-dataset"
end

class TableCreateTest < self
def test_table_create
droonga_commands = []
Expand Down Expand Up @@ -219,21 +236,4 @@ def test_multiple_commands
droonga_commands)
end
end

private
def date
Time.utc(2013, 11, 29, 0, 0, 0)
end

def formatted_date
"2013-11-29T00:00:00Z"
end

def reply_to
"localhost:20033"
end

def dataset
"test-dataset"
end
end

0 comments on commit 276aa5b

Please sign in to comment.