Skip to content

Commit 0cb5acd

Browse files
committed
fixed tests
1 parent b6583b3 commit 0cb5acd

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

app/helpers/application_helper.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module ApplicationHelper
2-
def btc_human amount, denom, options = {}
2+
def btc_human amount, denom = 0, options = {}
33
nobr = options.has_key?(:nobr) ? options[:nobr] : true
44
if denom === 0
55
btc = to_btc(amount)

db/schema.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
#
1212
# It's strongly recommended that you check this file into your version control system.
1313

14-
ActiveRecord::Schema.define(version: 20141112064004) do
14+
ActiveRecord::Schema.define(version: 20150620054216) do
1515

1616
create_table "collaborators", force: true do |t|
1717
t.integer "project_id"
@@ -124,6 +124,7 @@
124124
t.string "confirmation_token"
125125
t.string "unconfirmed_email"
126126
t.string "display_name"
127+
t.integer "denom", default: 0
127128
end
128129

129130
add_index "users", ["email"], name: "index_users_on_email", unique: true

0 commit comments

Comments
 (0)