Permalink
Browse files

Changed the name of Node to HighlightNode to be more specific.

  • Loading branch information...
1 parent 365f3ac commit 119f20e57ebb8f924adce4931633e750ed6c1cc4 @samwho committed May 1, 2012
Showing with 7 additions and 7 deletions.
  1. +1 −1 lib/vimcolorscheme.rb
  2. +1 −1 lib/vimcolorscheme/{node.rb → highlight_node.rb}
  3. +5 −5 spec/node_spec.rb
View
@@ -6,4 +6,4 @@ module VimColorScheme
end
require 'vimcolorscheme/hex2term'
-require 'vimcolorscheme/node'
+require 'vimcolorscheme/highlight_node'
@@ -1,5 +1,5 @@
module VimColorScheme
- class Node
+ class HighlightNode
def initialize name, options = {}
@name = name
@options = options
View
@@ -1,22 +1,22 @@
require 'spec_helper'
-describe VimColorScheme::Node do
+describe VimColorScheme::HighlightNode do
let :guinode do
- temp = VimColorScheme::Node.new :Normal
+ temp = VimColorScheme::HighlightNode.new :Normal
temp.guifg '#ffffff'
temp.guibg '#000000'
temp.to_s
end
let :ctermnode do
- temp = VimColorScheme::Node.new :Normal
+ temp = VimColorScheme::HighlightNode.new :Normal
temp.ctermfg '34'
temp.ctermbg '35'
temp.to_s
end
let :bothnode do
- temp = VimColorScheme::Node.new :Normal
+ temp = VimColorScheme::HighlightNode.new :Normal
temp.ctermfg '34'
temp.ctermbg '35'
temp.guifg '#ffffff'
@@ -25,7 +25,7 @@
end
let :reversenode do
- temp = VimColorScheme::Node.new :Normal
+ temp = VimColorScheme::HighlightNode.new :Normal
temp.gui :reverse
temp.to_s
end

0 comments on commit 119f20e

Please sign in to comment.