Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
annotate
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
open-source
annotate
Commits
38785542
Commit
38785542
authored
Dec 29, 2011
by
Turadg Aleahmad
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
make the specs pass (one pending)
parent
6bdaea57
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
annotate_models_spec.rb
spec/annotate/annotate_models_spec.rb
+1
-1
spec_helper.rb
spec/spec_helper.rb
+1
-1
No files found.
spec/annotate/annotate_models_spec.rb
View file @
38785542
...
@@ -83,7 +83,7 @@ EOS
...
@@ -83,7 +83,7 @@ EOS
klass
=
AnnotateModels
.
get_model_class
(
"foo_with_macro.rb"
)
klass
=
AnnotateModels
.
get_model_class
(
"foo_with_macro.rb"
)
klass
.
name
.
should
==
"FooWithMacro"
klass
.
name
.
should
==
"FooWithMacro"
end
end
it
"should find models with non standard capitalization"
do
pending
it
"should find models with non standard capitalization"
do
klass
=
AnnotateModels
.
get_model_class
(
"foo_with_capitals.rb"
)
klass
=
AnnotateModels
.
get_model_class
(
"foo_with_capitals.rb"
)
klass
.
name
.
should
==
"FooWithCAPITALS"
klass
.
name
.
should
==
"FooWithCAPITALS"
end
end
...
...
spec/spec_helper.rb
View file @
38785542
begin
begin
require
'spec'
require
'
r
spec'
rescue
LoadError
rescue
LoadError
require
'rubygems'
require
'rubygems'
gem
'rspec-core'
gem
'rspec-core'
...
...
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