Permalink
Browse files

rewording/refactoring

  • Loading branch information...
1 parent 2dd64ab commit a8bf181264d252ab3083113c6951918e975d9e2d @nickkaranatsios nickkaranatsios committed May 8, 2013
Showing with 4 additions and 10 deletions.
  1. +2 −4 spec/trema/arp-op_spec.rb
  2. +1 −3 spec/trema/arp-sha_spec.rb
  3. +1 −3 spec/trema/arp-spa_spec.rb
@@ -1,6 +1,4 @@
#
-# Author: Nick Karanatsios <nickkaranatsios@gmail.com>
-#
# Copyright (C) 2008-2013 NEC Corporation
#
# This program is free software; you can redistribute it and/or modify
@@ -39,8 +37,8 @@
describe Trema::ArpOp, ".new( VALID OPTIONS )" do
- context "when setting a flow with a match arp_op field to 1" do
- it "should match its arp_op field when ARP packet received" do
+ context "when setting a flow with a match arp_op field set" do
+ it "should match its arp_op field when an ARP packet received" do
network_blk = Proc.new {
trema_switch( "lsw" ) { datapath_id 0xabc }
vhost( "host1" ) {
@@ -1,6 +1,4 @@
#
-# Author: Nick Karanatsios <nickkaranatsios@gmail.com>
-#
# Copyright (C) 2008-2013 NEC Corporation
#
# This program is free software; you can redistribute it and/or modify
@@ -40,7 +38,7 @@
describe Trema::ArpSha, ".new( VALID OPTIONS )" do
context "when setting a flow with a match arp_sha field set" do
- it "should match its arp_sha field when ARP packet received" do
+ it "should match its arp_sha field when an ARP packet received" do
network_blk = Proc.new {
trema_switch( "lsw" ) { datapath_id 0xabc }
vhost( "host1" ) {
@@ -1,6 +1,4 @@
#
-# Author: Nick Karanatsios <nickkaranatsios@gmail.com>
-#
# Copyright (C) 2008-2013 NEC Corporation
#
# This program is free software; you can redistribute it and/or modify
@@ -40,7 +38,7 @@
describe Trema::ArpSpa, ".new( VALID OPTIONS )" do
context "when setting a flow with a match arp_spa field set" do
- it "should match its arp_spa field when ARP packet received" do
+ it "should match its arp_spa field when an ARP packet received" do
network_blk = Proc.new {
trema_switch( "lsw" ) { datapath_id 0xabc }
vhost( "host1" ) {

0 comments on commit a8bf181

Please sign in to comment.