Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
Redmine-Polls
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Michael Vernier
Redmine-Polls
Commits
57c0f5bf
Commit
57c0f5bf
authored
Jun 30, 2013
by
Michael Vernier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
default files for poll model created by redmine_plugin_model script
parent
34a213c2
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
0 deletions
+21
-0
app/models/poll.rb
app/models/poll.rb
+3
-0
db/migrate/001_create_polls.rb
db/migrate/001_create_polls.rb
+9
-0
test/unit/poll_test.rb
test/unit/poll_test.rb
+9
-0
No files found.
app/models/poll.rb
0 → 100644
View file @
57c0f5bf
class
Poll
<
ActiveRecord
::
Base
unloadable
end
db/migrate/001_create_polls.rb
0 → 100644
View file @
57c0f5bf
class
CreatePolls
<
ActiveRecord
::
Migration
def
change
create_table
:polls
do
|
t
|
t
.
string
:question
t
.
integer
:yes
t
.
integer
:no
end
end
end
test/unit/poll_test.rb
0 → 100644
View file @
57c0f5bf
require
File
.
expand_path
(
'../../test_helper'
,
__FILE__
)
class
PollTest
<
ActiveSupport
::
TestCase
# Replace this with your real tests.
def
test_truth
assert
true
end
end
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment